package com.hbusa.dto;

import lombok.Data;

import java.sql.Date;

@Data
public class TbChapter {

  public TbChapter() {
  }

  public TbChapter(long chapterId, String chapterName, String chapterNum, String content, long novelId, Date updateTime) {
    this.chapterId = chapterId;
    this.chapterName = chapterName;
    this.chapterNum = chapterNum;
    this.content = content;
    this.novelId = novelId;
    this.updateTime = updateTime;
  }

  private long chapterId;
  private String chapterName;
  private String chapterNum;
  private String content;
  private long novelId;
  private java.sql.Date updateTime;

  public TbChapter(long chapterId, String chapterName, String chapterNum, String content, long novelId, Date updateTime) {
    this.chapterId = chapterId;
    this.chapterName = chapterName;
    this.chapterNum = chapterNum;
    this.content = content;
    this.novelId = novelId;
    this.updateTime = updateTime;
  }

  public TbChapter() {
  }

  public long getChapterId() {
    return chapterId;
  }

  public void setChapterId(long chapterId) {
    this.chapterId = chapterId;
  }


  public String getChapterName() {
    return chapterName;
  }

  public void setChapterName(String chapterName) {
    this.chapterName = chapterName;
  }


  public String getChapterNum() {
    return chapterNum;
  }

  public void setChapterNum(String chapterNum) {
    this.chapterNum = chapterNum;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public long getNovelId() {
    return novelId;
  }

  public void setNovelId(long novelId) {
    this.novelId = novelId;
  }


  public java.sql.Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.sql.Date updateTime) {
    this.updateTime = updateTime;
  }

}
